package com.xinke.module.system.model.vo.social;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 社交客户端新增/修改 Request VO")
@Data
public class SocialClientSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2871")
    private Long clientId;

    @Schema(description = "应用名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "应用名不能为空")
    private String clientName;

    @Schema(description = "社交平台的类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "社交平台的类型不能为空")
    private Integer socialType;

    @Schema(description = "用户类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "用户类型不能为空")
    private Integer userType;

    @Schema(description = "客户端编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "客户端编号不能为空")
    private String clientNo;

    @Schema(description = "客户端密钥", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "客户端密钥不能为空")
    private String clientSecret;

    @Schema(description = "代理编号", example = "14110")
    private String agentId;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态不能为空")
    private Integer clientStatus;

}